-- GENERATED SPELL FOR [Zukk'ash Wasp] --


function spell0_5245(pUnit, Event) --@Poison,n/a--
pUnit:FullCastSpellOnTarget(744,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5245', 30000, 1)
end

function Sorts_5245(pUnit, Event)
local choix_sorts_5245 = math.random(0, 0)
if choix_sorts_5245 == 0 then
pUnit:RegisterEvent('spell0_5245', 1, 1)
end
end

function mob5245_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5245', math.random(1500, 3000), 1)
end

function mob5245_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5245_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5245_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5245, 1, 'mob5245_Action')
RegisterUnitEvent(5245, 2, 'mob5245_Leave')
RegisterUnitEvent(5245, 3, 'mob5245_Kill')
RegisterUnitEvent(5245, 4, 'mob5245_Die')
